<template>
  <div>
    <h1>父路由的头</h1>
    <span>-----------------------------------------------------------</span>
    <br>
    <router-link :to="{name:'second'}">第二个</router-link>
    <router-view/>
    <span>----------------------------{{text}}-------------------------------</span>
  </div>
</template>
<script>
  export default{
    data(){
      return {

      }
    }
  }
</script>
<style scoped>

</style>
